[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Type          : 15
 Name          : Exit to DOS
 Optional Data : <Errorlevel>

   This  function  causes RemoteAccess exit to the  batch  file
   that  executed  it,  with  a specific  errorlevel.  Set  the
   optional  data  to the errorlevel you wish to  pass  to  the
   batch  file.  The batch file should trap the errorlevel  and
   act  accordingly.  If  you exit while the user is still  on-
   line, to log the user back on invoke RemoteAccess with the -
   R  command line parameter.  This will force it to  read  the
   EXITINFO  file that was written at the time of the  previous
   exit  and take the user directly to the top menu.  Note that
   errorlevels  0 to 5 are reserved by RemoteAccess for  system
   use (see the reference section on ERRORLEVELS for a complete
   list  and  description of these and how to  use  them),  and
   should not be used.

   There are two control  codes that are valid on  the optional
   data field:

        *A : Pass the user's handle/alias in DORINFO.DEF
        *D : Generate the DOOR.SYS file

   See  the  description  of  the  menu  command  type  7   for
   additional information on both of these options.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson